﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Repo7.BusinessLogic.Utils
{
    /// <summary>
    /// Messages 
    /// </summary>
    public static class Messages
    {
        #region Error Messages

        public const string ErrorBindingSocketToLocalEndpoint = @"Error binding the socket to the local endpoint and listening for incoming connections.";
        public const string MessageLengthException = @"The received message length is smaller than zero or grater then MaxMessageSize.";
        public const string ReceivedBytesExceedMessageLenght = @"Received bytes count exceed the message length.";
        public const string MaxMessageSizeExceeded = @"The Maximum Message Size has been exceeded.";
        public const string LocalConfigurationIsInvalid = @"Local configuration is invalid.";
        public const string RepoCommanderCouldNotSendCommand = @"Repo Commander Could NOT send command.";

        #endregion

        #region Info Messages

        public const string RepoFTServerStarted = @"Repo file transfer server has started.";
        public const string RepoFTServerStopped = @"Repo file transfer server server has stopped.";
        public const string RepoCServerStarted = @"Repo command server has started.";
        public const string RepoCServerStopped = @"Repo command server server has stopped.";
        public const string RepoClientConnected = @"Repo client is connected to the server.";
        public const string RepoClientDisconnected = @"Repo client has been disconnected from the server.";

        #endregion
    }
}
